package cn.lili.modules.order.order.serviceimpl;

import cn.lili.modules.order.order.entity.dos.FlowReviewLog;
import cn.lili.modules.order.order.entity.dto.FlowReviewLogQueryDTO;
import cn.lili.modules.order.order.mapper.FlowReviewLogMapper;
import cn.lili.modules.order.order.service.FlowReviewLogService;
import cn.lili.mybatis.util.PageUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 异常流水日志业务层
 *
 * @author Chopper
 * @since 2020-02-25 14:10:16
 */
@Service
public class FlowReviewLogServiceImpl extends ServiceImpl<FlowReviewLogMapper, FlowReviewLog> implements FlowReviewLogService {

    @Override
    public Page<FlowReviewLog> getReviewLogs(FlowReviewLogQueryDTO flowReviewLogQueryDTO) {
        return this.page(PageUtil.initPage(flowReviewLogQueryDTO), flowReviewLogQueryDTO.generatorQueryWrapper());
    }
}